import asyncio
import sys
print(sys.path)
from util import delay


async def main():
    sleep1 = asyncio.create_task(delay(3, '1', 0.7))
    print('sleep1:', sleep1, type(sleep1))
    
    sleep2 = asyncio.create_task(delay(3, '2', 0.7))
    print('sleep2:', sleep2, type(sleep2))
    
    sleep3 = asyncio.create_task(delay(3, '3', 0.7))
    print('sleep3:', sleep3, type(sleep3))
    
    print('Before await them.')
    result = await sleep1
    print('result:', result)
    result = await sleep2
    print('result:', result)
    result = await sleep3
    print('result:', result)
    
    
if '__main__' == __name__:
    
    asyncio.run(main())
    